package com.lleice.common.entity.base;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import io.swagger.annotations.ApiModel;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 
 * @author lizihao
 *
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel("通用实体,只有id的")
public class CommonIdEntity {
	
	@TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
}
